3.6.93 \(\int \sqrt {d+e x} (a+c x^2) \, dx\) [593]

Optimal. Leaf size=63 \[ \frac {2 \left (c d^2+a e^2\right ) (d+e x)^{3/2}}{3 e^3}-\frac {4 c d (d+e x)^{5/2}}{5 e^3}+\frac {2 c (d+e x)^{7/2}}{7 e^3} \]

[Out]

2/3*(a*e^2+c*d^2)*(e*x+d)^(3/2)/e^3-4/5*c*d*(e*x+d)^(5/2)/e^3+2/7*c*(e*x+d)^(7/2)/e^3

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 63, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.059, Rules used = {711} \begin {gather*} \frac {2 (d+e x)^{3/2} \left (a e^2+c d^2\right )}{3 e^3}+\frac {2 c (d+e x)^{7/2}}{7 e^3}-\frac {4 c d (d+e x)^{5/2}}{5 e^3} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Sqrt[d + e*x]*(a + c*x^2),x]

[Out]

(2*(c*d^2 + a*e^2)*(d + e*x)^(3/2))/(3*e^3) - (4*c*d*(d + e*x)^(5/2))/(5*e^3) + (2*c*(d + e*x)^(7/2))/(7*e^3)

Rule 711

Int[((d_) + (e_.)*(x_))^(m_)*((a_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Int[ExpandIntegrand[(d + e*x)^m*(a + c*
x^2)^p, x], x] /; FreeQ[{a, c, d, e, m}, x] && NeQ[c*d^2 + a*e^2, 0] && IGtQ[p, 0]

Rubi steps

\begin {align*} \int \sqrt {d+e x} \left (a+c x^2\right ) \, dx &=\int \left (\frac {\left (c d^2+a e^2\right ) \sqrt {d+e x}}{e^2}-\frac {2 c d (d+e x)^{3/2}}{e^2}+\frac {c (d+e x)^{5/2}}{e^2}\right ) \, dx\\ &=\frac {2 \left (c d^2+a e^2\right ) (d+e x)^{3/2}}{3 e^3}-\frac {4 c d (d+e x)^{5/2}}{5 e^3}+\frac {2 c (d+e x)^{7/2}}{7 e^3}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.03, size = 44, normalized size = 0.70 \begin {gather*} \frac {2 (d+e x)^{3/2} \left (35 a e^2+c \left (8 d^2-12 d e x+15 e^2 x^2\right )\right )}{105 e^3} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[d + e*x]*(a + c*x^2),x]

[Out]

(2*(d + e*x)^(3/2)*(35*a*e^2 + c*(8*d^2 - 12*d*e*x + 15*e^2*x^2)))/(105*e^3)

________________________________________________________________________________________

Maple [A]
time = 0.38, size = 48, normalized size = 0.76

method result size
gosper \(\frac {2 \left (e x +d \right )^{\frac {3}{2}} \left (15 c \,e^{2} x^{2}-12 c d e x +35 e^{2} a +8 c \,d^{2}\right )}{105 e^{3}}\) \(41\)
derivativedivides \(\frac {\frac {2 c \left (e x +d \right )^{\frac {7}{2}}}{7}-\frac {4 c d \left (e x +d \right )^{\frac {5}{2}}}{5}+\frac {2 \left (e^{2} a +c \,d^{2}\right ) \left (e x +d \right )^{\frac {3}{2}}}{3}}{e^{3}}\) \(48\)
default \(\frac {\frac {2 c \left (e x +d \right )^{\frac {7}{2}}}{7}-\frac {4 c d \left (e x +d \right )^{\frac {5}{2}}}{5}+\frac {2 \left (e^{2} a +c \,d^{2}\right ) \left (e x +d \right )^{\frac {3}{2}}}{3}}{e^{3}}\) \(48\)
trager \(\frac {2 \left (15 e^{3} c \,x^{3}+3 c d \,e^{2} x^{2}+35 a \,e^{3} x -4 c \,d^{2} e x +35 a d \,e^{2}+8 c \,d^{3}\right ) \sqrt {e x +d}}{105 e^{3}}\) \(61\)
risch \(\frac {2 \left (15 e^{3} c \,x^{3}+3 c d \,e^{2} x^{2}+35 a \,e^{3} x -4 c \,d^{2} e x +35 a d \,e^{2}+8 c \,d^{3}\right ) \sqrt {e x +d}}{105 e^{3}}\) \(61\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c*x^2+a)*(e*x+d)^(1/2),x,method=_RETURNVERBOSE)

[Out]

2/e^3*(1/7*c*(e*x+d)^(7/2)-2/5*c*d*(e*x+d)^(5/2)+1/3*(a*e^2+c*d^2)*(e*x+d)^(3/2))

________________________________________________________________________________________

Maxima [A]
time = 0.30, size = 48, normalized size = 0.76 \begin {gather*} \frac {2}{105} \, {\left (15 \, {\left (x e + d\right )}^{\frac {7}{2}} c - 42 \, {\left (x e + d\right )}^{\frac {5}{2}} c d + 35 \, {\left (c d^{2} + a e^{2}\right )} {\left (x e + d\right )}^{\frac {3}{2}}\right )} e^{\left (-3\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x^2+a)*(e*x+d)^(1/2),x, algorithm="maxima")

[Out]

2/105*(15*(x*e + d)^(7/2)*c - 42*(x*e + d)^(5/2)*c*d + 35*(c*d^2 + a*e^2)*(x*e + d)^(3/2))*e^(-3)

________________________________________________________________________________________

Fricas [A]
time = 2.38, size = 59, normalized size = 0.94 \begin {gather*} -\frac {2}{105} \, {\left (4 \, c d^{2} x e - 8 \, c d^{3} - 5 \, {\left (3 \, c x^{3} + 7 \, a x\right )} e^{3} - {\left (3 \, c d x^{2} + 35 \, a d\right )} e^{2}\right )} \sqrt {x e + d} e^{\left (-3\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x^2+a)*(e*x+d)^(1/2),x, algorithm="fricas")

[Out]

-2/105*(4*c*d^2*x*e - 8*c*d^3 - 5*(3*c*x^3 + 7*a*x)*e^3 - (3*c*d*x^2 + 35*a*d)*e^2)*sqrt(x*e + d)*e^(-3)

________________________________________________________________________________________

Sympy [A]
time = 0.95, size = 61, normalized size = 0.97 \begin {gather*} \frac {2 \left (- \frac {2 c d \left (d + e x\right )^{\frac {5}{2}}}{5 e^{2}} + \frac {c \left (d + e x\right )^{\frac {7}{2}}}{7 e^{2}} + \frac {\left (d + e x\right )^{\frac {3}{2}} \left (a e^{2} + c d^{2}\right )}{3 e^{2}}\right )}{e} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x**2+a)*(e*x+d)**(1/2),x)

[Out]

2*(-2*c*d*(d + e*x)**(5/2)/(5*e**2) + c*(d + e*x)**(7/2)/(7*e**2) + (d + e*x)**(3/2)*(a*e**2 + c*d**2)/(3*e**2
))/e

________________________________________________________________________________________

Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 134 vs. \(2 (50) = 100\).
time = 2.87, size = 134, normalized size = 2.13 \begin {gather*} \frac {2}{105} \, {\left (7 \, {\left (3 \, {\left (x e + d\right )}^{\frac {5}{2}} - 10 \, {\left (x e + d\right )}^{\frac {3}{2}} d + 15 \, \sqrt {x e + d} d^{2}\right )} c d e^{\left (-2\right )} + 3 \, {\left (5 \, {\left (x e + d\right )}^{\frac {7}{2}} - 21 \, {\left (x e + d\right )}^{\frac {5}{2}} d + 35 \, {\left (x e + d\right )}^{\frac {3}{2}} d^{2} - 35 \, \sqrt {x e + d} d^{3}\right )} c e^{\left (-2\right )} + 105 \, \sqrt {x e + d} a d + 35 \, {\left ({\left (x e + d\right )}^{\frac {3}{2}} - 3 \, \sqrt {x e + d} d\right )} a\right )} e^{\left (-1\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x^2+a)*(e*x+d)^(1/2),x, algorithm="giac")

[Out]

2/105*(7*(3*(x*e + d)^(5/2) - 10*(x*e + d)^(3/2)*d + 15*sqrt(x*e + d)*d^2)*c*d*e^(-2) + 3*(5*(x*e + d)^(7/2) -
 21*(x*e + d)^(5/2)*d + 35*(x*e + d)^(3/2)*d^2 - 35*sqrt(x*e + d)*d^3)*c*e^(-2) + 105*sqrt(x*e + d)*a*d + 35*(
(x*e + d)^(3/2) - 3*sqrt(x*e + d)*d)*a)*e^(-1)

________________________________________________________________________________________

Mupad [B]
time = 0.05, size = 44, normalized size = 0.70 \begin {gather*} \frac {2\,{\left (d+e\,x\right )}^{3/2}\,\left (15\,c\,{\left (d+e\,x\right )}^2+35\,a\,e^2+35\,c\,d^2-42\,c\,d\,\left (d+e\,x\right )\right )}{105\,e^3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + c*x^2)*(d + e*x)^(1/2),x)

[Out]

(2*(d + e*x)^(3/2)*(15*c*(d + e*x)^2 + 35*a*e^2 + 35*c*d^2 - 42*c*d*(d + e*x)))/(105*e^3)

________________________________________________________________________________________